


#ifndef _MATH_CONSTANT_H_
#define _MATH_CONSTANT_H_

// the value 2*pi
#define MATH_TWO_PI               ((float32_t)(6.283185307f))

// the value pi
#define MATH_PI                   ((float32_t)(3.141592653589f))

// the value 1/2*pi
#define MATH_ONE_OVER_TWO_PI      ((float32_t)(0.159154943f))

// the value sqrt(3)/2
#define MATH_SQRTTHREE_OVER_TWO   ((float32_t)(0.8660254038f))

// the value 1/3
#define MATH_ONE_OVER_THREE       ((float32_t)(0.333333333f))

// the valut 1/sqrt(3)
#define MATH_ONE_OVER_SQRT_THREE  ((float32_t)(0.577350269f))


// clark transform cofficient (equal amplitude)
#define CLARK_ALPHA_SF      (MATH_ONE_OVER_THREE)        // (2/3 * 1/2 = 1/3)
#define CLARK_BETA_SF       (MATH_ONE_OVER_SQRT_THREE)   // (2/3 * sqrt(3)/2 = 1/sqrt(3)


#endif


